import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/pages/index'

//张腾的路由
import MusicGeDan from "../pages/musicList/musicGeDan"
import HotTuiJian from "../pages/musicList/hotTuiJian"
import NewTuiJian from "../pages/musicList/newTuiJian"
import MusicVideo from "../pages/threemusic/musicVideo"

//李二星的路由
import Radio from  "../pages/radio/radio"
import  RadioList from "../pages/radio/radioList"
import  HotRadio from "../pages/radio/hotRadio"
import  ShowList from "../pages/radio/showList"
import  RadioStationClasses from "../pages/radio/radioStationClasses"
import  More from "../pages/radio/more"
import  Hot from "../pages/radio/hot"
import  Infocenter from "../pages/radio/infocenter"
import  MemberCenter from "../pages/radio/memberCenter"
import  SkinCenter from "../pages/radio/skinCenter"
// 李娜的路由
import MusicSinger from "../pages/music_layout_pages/music_total_pages/MusicSinger"
import SingerInfo from "../pages/music_layout_pages/music_total_pages/SingerInfo"
import HotMusic from '../pages/music_layout_pages/music_total_pages/MusicSort/HotMusic'
import NewMusic from '../pages/music_layout_pages/music_total_pages/MusicSort/NewMusic'
import FashionMusic from '../pages/music_layout_pages/music_total_pages/MusicSort/FashionMusic'
import Extend from '../pages/music_layout_pages/music_total_pages/Extend'
import MusicPlayer from "../components/MusicPlayer"
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
    },
    {
  		path: '/infocenter',
  		name: 'Infocenter',
  		component:Infocenter
  	},
    {
			path: '/musicsinger',
			name: 'MusicSinger',
			component:MusicSinger,
      // redirect:"/MusicSinger/hot",
      children:[
        {
          path: '/hotmusic',
          name: 'HotMusic',
          component: HotMusic
        },
        {
          path: '/newmusic',
          name: 'NewMusic',
          component: NewMusic
        },
        {
          path: '/fashionmusic',
          name: 'FashionMusic',
          component: FashionMusic
        }
      ]
		},
    {
			path: '/singinfo/:singerid',
			name: 'SingerInfo',
			component: SingerInfo
    },
    {
      path:"/extend/:musictype",
      name:"Extend",
      component:Extend
    },
    {
      path:"/musicplayer/:songid",
      name:"MusicPlayer",
      component:MusicPlayer
    },
    {
      path:'/radio',
      name:'Radio',
      component:Radio,
    },
    {
      path: '/radio/radiolist',
      name: 'RadioList',
      component: RadioList
    },
    {
      path: '/radiolist/hotradio',
      name: 'HotRadio',
      component: HotRadio
    },
    {
      path: '/radiolist/showlist',
      name: 'ShowList',
      component: ShowList
    },
    {
      path: '/radiolist/radioclasses',
      name: 'RadioStationClasses',
      component: RadioStationClasses
    },
    {
      path: '/radioclasses/more',
      name: 'More',
      component: More
    },
    {
      path: '/radioclasses/hot',
      name: 'Hot',
      component: Hot
    },
    {
      path: '/infocenter/membercenter',
      name: 'MemberCenter',
      component: MemberCenter
    },
    {
      path: '/infocenter/skincenter',
      name: 'SkinCenter',
      component: SkinCenter
    },
    {
      path: '/musicgedan',
      name: 'MusicGeDan',
      component: MusicGeDan
    },
    {
      path: '/hottuijian',
      name: 'HotTuiJian',
      component: HotTuiJian
    },
    {
      path: '/newtuijian',
      name: 'NewTuiJian',
      component: NewTuiJian
    },
    {
      path: '/musicvideo',
      name: 'MusicVideo',
      component: MusicVideo
    }


  ]
})
